package cn.gdrj.est.dao;

import cn.gdrj.est.entity.Appointment;

public interface AppointmentDao {
    int deleteByPrimaryKey(Long id);

    /**
     * 添加预约信息（需要用户信息和预约信息）
     * @param record
     * @return
     */
    int insert(Appointment record);

    int insertSelective(Appointment record);

    Appointment selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Appointment record);

    int updateByPrimaryKey(Appointment record);

}
